
<%@ page import="org.product.ProductType" %>
<div id="list-productType" class="content scaffold-list" role="main">
	<div class="message" role="status">${flash.message}</div>
	</g:if>
	<table>
		<thead>
			<tr>
			
				<g:sortableColumn property="typeName" title="${message(code: 'productType.typeName.label', default: 'Type Name')}"  params="${filterParams}"/>
			
				<g:sortableColumn property="remark" title="${message(code: 'productType.remark.label', default: 'Remark')}" />
			
				<th><g:message code="productType.typeSort.label" default="Type Sort" /></th>
			
			</tr>
		</thead>
		<tbody>
		<g:each in="${productTypeInstanceList}" status="i" var="productTypeInstance">
			<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
			
				<td><g:link action="show" id="${productTypeInstance.id}">${fieldValue(bean: productTypeInstance, field: "typeName")}</g:link></td>
			
				<td>${fieldValue(bean: productTypeInstance, field: "remark")}</td>
			
				<td>${fieldValue(bean: productTypeInstance, field: "typeSort")}</td>
			
			</tr>
		</g:each>
		</tbody>
	</table>
	<div class="pagination">
		<g:paginate total="${productTypeInstanceTotal}" action="filter" params="${filterParams}"/>
	</div>
</div>